package com.yanfan;

import com.dtflys.forest.springboot.annotation.ForestScan;
import com.yanfan.common.utils.OSUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@ForestScan(basePackages = "com.yanfan.http.client")
public class YanfanApplication {
    public static void main(String[] args) {
        System.out.println("机器码：" + OSUtils.getOSNumber());
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(YanfanApplication.class, args);
    }
}
